#pragma once

struct VideoFrame
{
	int width;
	int height;
	int delay;
	uint8_t pixcel[1];
};

class VideoPlayerCallback
{
public:
	virtual ~VideoPlayerCallback(){}

	virtual void OnOpenVideo(bool bOk,int w,int h)=0;
	virtual void OnDecodeFrame(VideoFrame* frame)=0;

};

class VideoPlayer;
